|
RAIS
3.2
|
00001 using System; 00002 using System.Collections.Generic; 00003 using System.Text; 00004 00005 namespace RAIS.Common.DynamicMaskManagement 00006 { 00010 public class DynamicMaskFilterData 00011 { 00012 //********************************************************************* 00013 #region Fields 00014 DynamicMaskFilter dynamicMaskFilter; 00015 Dictionary<int, DynamicMaskFilterData> parentFilters; 00016 Dictionary<int, DynamicMaskFilterData> childFilters; 00017 int currentLookupValue = 0; 00018 string currentLookupText = ""; 00019 Dictionary<int, string> lookupValues; 00020 DateTime dateFrom = new DateTime(1895, 1, 1); 00021 DateTime dateUntil = DateTime.Now; 00022 string controlName; 00023 string controlUntilName; 00024 DateTime sqlMinDateValue = new DateTime(1753, 1, 1); 00025 #endregion 00026 //********************************************************************* 00027 #region Properties 00028 00029 00030 00031 public DynamicMaskFilter DynamicMaskFilter 00032 { 00033 get { return this.dynamicMaskFilter; } 00034 set { this.dynamicMaskFilter = value; } 00035 } 00039 public Dictionary<int, DynamicMaskFilterData> ParentFilters 00040 { 00041 get { return this.parentFilters; } 00042 set { this.parentFilters = value; } 00043 } 00047 public Dictionary<int, DynamicMaskFilterData> ChildFilters 00048 { 00049 get { return this.childFilters; } 00050 set { this.childFilters = value; } 00051 } 00055 public int CurrentLookupValue 00056 { 00057 get { return this.currentLookupValue; } 00058 set { this.currentLookupValue = value; } 00059 } 00063 public string CurrentLookupText 00064 { 00065 get { return this.currentLookupText; } 00066 set { this.currentLookupText = value; } 00067 } 00071 public Dictionary<int, string> LookupValues 00072 { 00073 get { return this.lookupValues; } 00074 set { this.lookupValues = value; } 00075 } 00079 public DateTime DateFrom 00080 { 00081 get { return dateFrom; } 00082 set { dateFrom = value; } 00083 } 00087 public DateTime DateUntil 00088 { 00089 get { return dateUntil; } 00090 set { dateUntil = value; } 00091 } 00095 public DateTime SqlMinDateValue 00096 { 00097 get { return sqlMinDateValue; } 00098 } 00102 public string ControlName 00103 { 00104 get { return this.controlName; } 00105 set { this.controlName = value; } 00106 } 00110 public string ControlUntilName 00111 { 00112 get { return controlUntilName; } 00113 set { controlUntilName = value; } 00114 } 00115 #endregion 00116 //********************************************************************* 00117 #region Constructors 00118 public DynamicMaskFilterData() 00119 { } 00120 #endregion 00121 } 00122 }